﻿/*CREATE TABLE [dbo].[MovimientosSemilla] (
    [MovimientoGuid]       UNIQUEIDENTIFIER ROWGUIDCOL NOT NULL,
    [JuntaGuid]            UNIQUEIDENTIFIER NOT NULL,
    [JuntaId]              INT              NOT NULL,
    [CicloGuid]            UNIQUEIDENTIFIER NOT NULL,
    [CicloId]              INT              NOT NULL,
    [CultivoGuid]          UNIQUEIDENTIFIER NOT NULL,
    [CultivoId]            INT              NOT NULL,
    [VariedadGuid]         UNIQUEIDENTIFIER NOT NULL,
    [VariedadId]           INT              NOT NULL,
    [ProveedorOrigenGuid]  UNIQUEIDENTIFIER NOT NULL,
    [ProveedorOrigenId]    INT              NOT NULL,
    [ProveedorDestinoGuid] UNIQUEIDENTIFIER NULL,
    [ProveedorDestinoId]   INT              NULL,
    [TipoGuid]             UNIQUEIDENTIFIER NOT NULL,
    [TipoId]               INT              NOT NULL,
    [OrigenGuid]           UNIQUEIDENTIFIER NOT NULL,
    [OrigenId]             INT              NOT NULL,
    [Cantidad]             DECIMAL (18, 2)  NOT NULL,
    [Referencia]           NTEXT            NOT NULL,
    [Fecha]                DATETIME         NOT NULL,
    [Status]               BIT              NOT NULL
);*/

